package com.xiaopengwei.springboot.runner;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;/** * <p> * 顺序执行测试 - 启动类 * </p> * * @author XiaoPengwei.com * @since 2019-04-17 */@SpringBootApplicationpublic class CommandLineRunnerApplication {    public static void main(String[] args) {        //注意查看控制台打印的位置，大概推出执行时机，更多需分析源码        System.out.println("The service is ready to start.");        SpringApplication.run(CommandLineRunnerApplication.class, args);        System.out.println("The service has started.");    }}